
<div id="menuitem-index">

    <div class="title">
        <a href="__APP__/Menu/index" class="add">添加菜单项</a>
        <eq name="isshow" value="yes">
            <a class="delete" href="javascript:;">删除</a><a class="select" href="javascript:;">全选</a><a class="rewrite" href="__APP__/MenuItem/component/mid/<{$Think.get.mid}>">重写</a> <a class="back" href="javascript:;">返回</a>
        </eq>
    </div>

    <eq name="nobody" value="no">
            <div class="content">
                <div id="nodata">暂无菜单项</div>
            </div>
            <div class="footer">

            </div>
        <else/>
            <div class="content">

                <form action="__APP__/MenuItem/del" method="post" name="delete" class="delete">
                    <input type="hidden" name="mid" value="<{$Think.get.mid}>" />
                    <table>
                        <tr>
                            <th>ID</th><th>菜单项名</th><th>菜单项类型</th><th>路径</th><th>操作</th>
                        </tr>
                        <volist name="list" id="vo">
                            <tr>
                                <td><{$vo['id']}></td>
                                <td class="left"><a href="__APP__/MenuItem/edit/mid/<{$Think.get.mid}>/id/<{$vo['id']}>"><{$vo['nbsp']}>|-- <{$vo['name']}></a></td>
                                <td><{$vo['type']}></td>
                                <td class="lefts"><{$vo['bpath']}></td>
                                <td><input type="checkbox" name="del[]" value="<{$vo['id']}>" /></td>
                            </tr>
                        </volist>
                    </table>
                </form>

            </div>
            <div class="footer">
                <{$show|default="暂无数据"}>
            </div>
    </eq>

</div>
<script type='text/javascript' src='../Public/js/menuitem_index.js'></script>